package com.ys.service.business.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ys.mapper.business.BusinessMapper;
import com.ys.service.business.TpBoutiqueCartService;


/**
 * 精品库
 */
@Service("tpBoutiqueCartService")
public class TpBoutiqueCartServiceImpl implements TpBoutiqueCartService {
	
	@Autowired
	private BusinessMapper businessMapper;

	@Override
	public void clearCart(String userId) {
		if (userId == null || userId.length() == 0) {
			return;
		}
		
		businessMapper.deleteTrueTpBoutiqueCart(userId);
	}
}
